const express = require('express');
const router = express.Router();
const categoryController = require('../controllers/categoryController');

/**
 * 查询所有分类
 * GET /categories
 */
router.get('/', categoryController.getAllCategories);

module.exports = router;